package com.poem.service;

import com.poem.dto.TypesQueryDTO;
import com.poem.entity.Types;
import com.poem.result.PageResult;

import java.util.List;

/**
 * @ClassName: TypesService
 * @Author: YLY
 * @Description:
 * @Date: 2025/10/19
 * @Version: 1.0
 */
public interface TypesService {
    List<Types> queryAllTypes();

    void addType(Types type);

    void updateType(Types type);

    PageResult<Types> pageQuery(TypesQueryDTO typesQueryDTO);

    void deleteBatch(List<Long> ids);
}
